package com.cloudbroker.bcs.platform.dav.bizapi.service.viewpoint.vo;

import com.cloudbroker.bcs.common.validatioin.annotation.IntegerString;
import com.cloudbroker.bcs.common.validatioin.annotation.Length;
import com.cloudbroker.bcs.common.validatioin.annotation.NotBlank;
import com.cloudbroker.bcs.platform.dav.bizapi.service.base.vo.PageVO;

/**
 * Created by wangly18345 on 2016/12/29.
 */
public class ViewpointCommentOperateListForm extends PageVO{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    @IntegerString
    @Length(max = 20)
    @NotBlank
    private String viewpoint_id;

    @Length(max = 64)
    private String keyword;

    @NotBlank
    @Length(max = 255)
    private String branch_no;

    @NotBlank
    @IntegerString
    @Length(max = 11)
    private String tenant_id;

    public String getViewpoint_id() {
        return viewpoint_id;
    }

    public void setViewpoint_id(String viewpoint_id) {
        this.viewpoint_id = viewpoint_id;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getBranch_no() {
        return branch_no;
    }

    public void setBranch_no(String branch_no) {
        this.branch_no = branch_no;
    }

    @Override
    public String getTenant_id() {
        return tenant_id;
    }

    @Override
    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ViewpointCommentOperateListForm{");
        sb.append("viewpoint_id='").append(viewpoint_id).append('\'');
        sb.append(", keyword='").append(keyword).append('\'');
        sb.append(", branch_no='").append(branch_no).append('\'');
        sb.append(", tenant_id='").append(tenant_id).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
